home *** CD-ROM | disk | FTP | other *** search
/ Iron Maiden - Maiden Hell! / Iron Maiden - Maiden Hell! Promotional CD-ROM.iso / mac / promo.dxr / scripts_40_select audio track = .ls < prev    next >
Encoding:
Text File  |  1998-09-16  |  875 b   |  29 lines

  1. on mouseEnter
  2.   global gCD
  3.   if gCD <> VOID then
  4.     set the cursor of sprite the currentSpriteNum to [the number of member "finger", the number of member "fingermask"]
  5.   end if
  6. end
  7.  
  8. on mouseDown me
  9.   global gCDtrackplaying, gCD, gHowManyTracksOnAlbum
  10.   if gCD <> VOID then
  11.     set trackToPLay to the spriteNum of me - 5
  12.     play(gCD, trackToPLay, gHowManyTracksOnAlbum)
  13.   end if
  14. end
  15.  
  16. on mouseUp me
  17.   global gCDtrackplaying, gCD, gHowManyTracksOnAlbum
  18.   if gCD <> VOID then
  19.     set the member of sprite (gCDtrackplaying + 5) to "audiosong" & string(gCDtrackplaying) & "w"
  20.     set gCDtrackplaying to the spriteNum of me - 5
  21.     set the member of sprite the currentSpriteNum to "audiosong" & string(gCDtrackplaying) & "r"
  22.     set the member of sprite 1 to "audiobg" & string(gCDtrackplaying)
  23.   end if
  24. end
  25.  
  26. on mouseLeave
  27.   set the cursor of sprite the currentSpriteNum to 0
  28. end
  29.